webhook_api.v1.CreateContractReactionPayload
type CreateContractReactionPayload
CreateContractReactionPayload
webhook_api.v1.CreateContractReactionPayload
webhook_api.v1.CreateContractReactionPayload
Field | Type | Description |
---|---|---|
sender_wallet_id | string | Wallet ID. |
commitments | Commitment repeated | List of commitments. |
conditions | Condition repeated | List of conditions. |
timeout_secs | uint32 | Timeout in seconds for contracts created by the scheduled reaction. |
memo | string | Memo for contracts created by the scheduled reaction. |
{
"sender_wallet_id": "SENDER_WALLET_ID1",
"commitments": [
{
"sender": "zSenderPublicKey",
"recipient": "zRecipientPublicKey",
"amount": {
"currency_code": "USD",
"amount": 100,
"decimals": 2
}
},
{
"sender": "zSenderPublicKey2",
"recipient": "zRecipientPublicKey2",
"amount": {
"currency_code": "USD",
"amount": 500,
"decimals": 2
}
}
],
"conditions": [
{
"condition": {
"hash": {
"presenter": "PresenterPublicKey",
"hash": "13550350a8681c84"
}
}
},
{
"condition": {
"hash": {
"presenter": "PresenterPublicKey",
"hash": "13550350a8681c84"
}
}
}
],
"timeout_secs": 10000,
"memo": "MEMO"
}