Function rgb20::transfer [−][src]
pub fn transfer(
asset: &Asset,
inputs: BTreeSet<OutPoint>,
payment: BTreeMap<SealEndpoint, AtomicValue>,
change: BTreeMap<SealDefinition, AtomicValue>
) -> Result<Transition, TransferError>
Function creates a fungible asset-specific state transition (i.e. RGB-20 schema-based) given an asset information, inputs and desired outputs