Skip to main content

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
string
name is the name of the batch payment.
notes
google.protobuf.StringValue
notes is the transaction notes for the batch payment.
Response mpcvault.platform.v1.CreateBatchPaymentResponse
batch_payment
error
mpcvault.platform.v1.Error

msg mpcvault.platform.v1.EVMBatchSendNative

chain_id
uint64
from
string
from is the sender wallet address. It has to be in this vault.

msg mpcvault.platform.v1.BatchPaymentRecipient

address
string
address is the address of the recipient.
amount
string
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
google.protobuf.StringValue
notes is a note for this entry in the batch payment.

msg mpcvault.platform.v1.EVMBatchSendERC20

chain_id
uint64
from
string
from is the sender wallet address. It has to be in this vault.
token_contract_address
string
token_contract_address is the address of the ERC20 token contract.

msg mpcvault.platform.v1.BTCBatchSendNative

from
string
from is the sender wallet address. It has to be in this vault.

msg mpcvault.platform.v1.SUIBatchSendNative

from
string
from is the sender wallet address. It has to be in this vault.

msg mpcvault.platform.v1.SUIBatchSendCoin

from
string
from is the sender wallet address. It has to be in this vault.
coin_tag
string
coin_tag identifies the coin to be sent.