Function tea_sdk::utils::wasm_actor::actors::tokenstate::api_cross_move
pub async fn api_cross_move(
from: H160,
to: H160,
amt: U256,
from_ctx_bytes: Vec<u8>,
to_ctx_bytes: Vec<u8>
) -> Result<(Vec<u8>, Vec<u8>), Error>
Expand description
A wrapped method for cross_move, which includes the allowance operation. Developers can easily move TEA among different token_id and don’t need to set the user allowance manually.