Creates a destination multilocation object for the deposit transaction.
// Create a destination multilocation objectconst address = '0x123abc';const domainId = '42';const multilocationData = createDestIdMultilocationData(address, domainId);console.log(multilocationData);// Output: {// parents: 0,// interior: {// x2: [// { generalKey: '0x123abc' },// { generalKey: '0x2a' }// ]// }// }
The recipient address.
The domain identifier.
Generated using TypeDoc
Creates a destination multilocation object for the deposit transaction.
Example
Returns