CreateBatchPayment
POST CreateBatchPayment
CreateBatchPayment creates a batch payment. You will need to complete the batch payment using the MPCVault web app.
Request mpcvault.platform.v1.CreateBatchPaymentRequest
name
name is the name of the batch payment.
notes
notes is the transaction notes for the batch payment.
type
Response mpcvault.platform.v1.CreateBatchPaymentResponse
batch_payment
error
msg mpcvault.platform.v1.EVMBatchSendNative
chain_id
from
from is the sender wallet address. It has to be in this vault.
recipients
msg mpcvault.platform.v1.BatchPaymentRecipient
address
address is the address of the recipient.
amount
amount is the amount of the tokens to send.
For native tokens such as ether/btc, the amount is denominated in wei/satoshi.
For ERC20 tokens you should use whole integer representation. [amount * 10^decimals]
For bitcoin, the amount is denominated in satoshi.
notes
notes is a note for this entry in the batch payment.
msg mpcvault.platform.v1.EVMBatchSendERC20
chain_id
from
from is the sender wallet address. It has to be in this vault.
token_contract_address
token_contract_address is the address of the ERC20 token contract.
recipients
msg mpcvault.platform.v1.BTCBatchSendNative
from
from is the sender wallet address. It has to be in this vault.
recipients
msg mpcvault.platform.v1.SUIBatchSendNative
from
from is the sender wallet address. It has to be in this vault.
recipients
msg mpcvault.platform.v1.SUIBatchSendCoin
from
from is the sender wallet address. It has to be in this vault.
coin_tag
coin_tag identifies the coin to be sent.
recipients