Skip to content

Instantly share code, notes, and snippets.

@haarts
Created December 19, 2023 09:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haarts/b7649e7175d0a579d132f8a6ca2c8cce to your computer and use it in GitHub Desktop.
Save haarts/b7649e7175d0a579d132f8a6ca2c8cce to your computer and use it in GitHub Desktop.
Offlinemutation GraphQL query 21 Travel
mutation Carrier {
offline {
registerTx(
txDetails: {
asset: DTI4H95J0R2X,
amount: "10",
txId: "123",
originator: {
name: {legal:{lei: "FLGW00QWEOISPQMLHI70", name:"some name"}},
address: {postalCode:"1234", town:"zug", country:"CH"},
customerIdentification: "abc"
},
beneficiary: {
name: {legal:{lei:"3D0K00FA3EUVIEETG962", name: "other legal"}},
walletAddress: "abc"
},
counterpartyVasp: {
name: "counterparty"
},
type: SENT}
) {
asset
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment