Cosmos custom calls
Execute any custom calls at the end of Squid Route
Custom Cosmos contract call structure
export type CustomCosmosContractCall = {
contract?: string; // must be set for wasm calls
msg: object; // properly built object with a message call
}Building a valid contract call
Example of stargate message
{
"msg": {
"stake": {
"denom": "uosmo"
}
}
}Example of wasm hook message
Example of Mars Red Bank deposit call on Osmosis
Not found
Last updated