MCPcopy Create free account
hub / github.com/ChainSafe/Delorean-Protocol / transfer

Method transfer

fendermint/rpc/src/message.rs:166–173  ·  view source on GitHub ↗

Transfer tokens to another account.

(
        &mut self,
        to: Address,
        value: TokenAmount,
        gas_params: GasParams,
    )

Source from the content-addressed store, hash-verified

164
165 /// Transfer tokens to another account.
166 pub fn transfer(
167 &mut self,
168 to: Address,
169 value: TokenAmount,
170 gas_params: GasParams,
171 ) -> anyhow::Result<ChainMessage> {
172 self.transaction(to, METHOD_SEND, Default::default(), value, gas_params)
173 }
174
175 /// Send a message to an actor.
176 pub fn transaction(

Callers 1

transferFunction · 0.45

Calls 1

transactionMethod · 0.45

Tested by

no test coverage detected