2. Transaction Manifest
Transaction manifest
# lock fees to pay for the transaction
CALL_METHOD
Address("[your_account_address]")
"lock_fee"
Decimal("[amount]");
# withdraw 10 XRD from account, which goes to the worktop
CALL_METHOD
Address("[your_account_address]")
"withdraw"
ResourceAddress("[xrd_address]")
Decimal("[amount]");
# take 10 XRD from the worktop and put it in a bucket
TAKE_FROM_WORKTOP_BY_AMOUNT
Decimal("10")
Address("[xrd_address]")
Bucket("xrd");
# deposit the bucket of XRD into the recipient's account
CALL_METHOD
Address("[your_account_address]")
"deposit"
Bucket("xrd");Last updated