You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: learn/infrastructure/vaas.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -75,7 +75,7 @@ Tokens are transferred from one chain to another using a lockup/mint and burn/un
75
75
76
76
To transfer tokens from Chain A to Chain B, we must lock them on A and mint them on B. The tokens on A must be proven to be locked before the minting can occur on B. To facilitate this process, Chain A first locks the tokens and emits a message indicating that the locking has been completed. This message has the following structure and is referred to as a transfer message:
77
77
78
-
-`payload_id = 1` ++"u8"++ - token transfer
78
+
-`payload_id` ++"u8"++ - the ID of the payload. This should be set to `1` for a token transfer
79
79
-`amount` ++"u256"++ - amount of tokens being transferred
80
80
-`token_address` ++"u8[32]"++ - address on the source chain
81
81
-`token_chain` ++"u16"++ - numeric ID for the source chain
0 commit comments