Skip to main content

transfer

Function transfer 

Source
pub async fn transfer(
    registry: &RegistryClient,
    transfer: Transfer,
    actors: Vec<Party>,
) -> Result<TokenCommand>
Expand description

Resolve the V2 transfer factory and build the exercise that performs transfer.

actors are the parties exercising the choice — usually just the sender. V1 left this implicit in the submitting party; V2 states it.

§Errors

As any registry call, plus canton_core::Error::UnexpectedResponse if the context does not decode.