CreateBatchPayment
curl --request POST \
--url https://api.mpcvault.com/v1/createBatchPayment \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"name": "Monthly payroll",
"notes": "Monthly payroll",
"btcBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendErc20": {
"chainId": "137",
"from": "<string>",
"tokenContractAddress": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendNative": {
"chainId": "137",
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendCoin": {
"from": "0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
}
}
'import requests
url = "https://api.mpcvault.com/v1/createBatchPayment"
payload = {
"name": "Monthly payroll",
"notes": "Monthly payroll",
"btcBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendErc20": {
"chainId": "137",
"from": "<string>",
"tokenContractAddress": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendNative": {
"chainId": "137",
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendCoin": {
"from": "0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
}
}
headers = {
"x-mtoken": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-mtoken': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Monthly payroll',
notes: 'Monthly payroll',
btcBatchSendNative: {
from: '<string>',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
},
evmBatchSendErc20: {
chainId: '137',
from: '<string>',
tokenContractAddress: '<string>',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
},
evmBatchSendNative: {
chainId: '137',
from: '<string>',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
},
suiBatchSendCoin: {
from: '0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50',
coinTag: 'tx_hash:0a1b2c3d...789e, output_index:0',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
},
suiBatchSendNative: {
from: '<string>',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
}
})
};
fetch('https://api.mpcvault.com/v1/createBatchPayment', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mpcvault.com/v1/createBatchPayment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Monthly payroll',
'notes' => 'Monthly payroll',
'btcBatchSendNative' => [
'from' => '<string>',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
],
'evmBatchSendErc20' => [
'chainId' => '137',
'from' => '<string>',
'tokenContractAddress' => '<string>',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
],
'evmBatchSendNative' => [
'chainId' => '137',
'from' => '<string>',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
],
'suiBatchSendCoin' => [
'from' => '0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50',
'coinTag' => 'tx_hash:0a1b2c3d...789e, output_index:0',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
],
'suiBatchSendNative' => [
'from' => '<string>',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-mtoken: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mpcvault.com/v1/createBatchPayment"
payload := strings.NewReader("{\n \"name\": \"Monthly payroll\",\n \"notes\": \"Monthly payroll\",\n \"btcBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendErc20\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"tokenContractAddress\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendNative\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendCoin\": {\n \"from\": \"0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50\",\n \"coinTag\": \"tx_hash:0a1b2c3d...789e, output_index:0\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-mtoken", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mpcvault.com/v1/createBatchPayment")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Monthly payroll\",\n \"notes\": \"Monthly payroll\",\n \"btcBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendErc20\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"tokenContractAddress\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendNative\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendCoin\": {\n \"from\": \"0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50\",\n \"coinTag\": \"tx_hash:0a1b2c3d...789e, output_index:0\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mpcvault.com/v1/createBatchPayment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-mtoken"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Monthly payroll\",\n \"notes\": \"Monthly payroll\",\n \"btcBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendErc20\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"tokenContractAddress\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendNative\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendCoin\": {\n \"from\": \"0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50\",\n \"coinTag\": \"tx_hash:0a1b2c3d...789e, output_index:0\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"batchPayment": {
"uuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
"status": "STATUS_UNSPECIFIED",
"creationTimestamp": "1744274467154",
"name": "name1",
"notes": "notes test",
"failedReason": "failed reason",
"approvalSigningRequest": {
"uuid": "bb6f129f-bbe3-4d95-9f33-c32812e3e1c4",
"status": "STATUS_UNSPECIFIED",
"txHash": "3Eq21vXNB5s86c62bVuUfTerseghjkuUqRPBmGRJhyTA",
"vaultUuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
"failedReason": "failed reason",
"creationTimestamp": "1744274467154",
"notes": "<string>",
"callbackClientSignerPublicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmdWUo3e3/xUd0kbXCz4omzhqcYaPPYNTZ6ndqZdBAo test",
"simulation": "aSDinaTvuI8gbWludGxpZnk=",
"evmInputDataDecode": {
"function": "function_name(arg1_type arg1_value, arg2_type arg2_value, ...)",
"args": [
{
"name": "<string>",
"type": "<string>",
"data": "<string>"
}
]
},
"signatures": {
"signatures": [
{
"ecdsaSignature": {
"R": "<string>",
"S": "<string>",
"V": "<string>"
},
"eddsaSignature": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+Pw=="
}
]
},
"source": {
"type": "TYPE_UNSPECIFIED",
"website": "app.uniswap.org"
},
"aptosMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": {
"message": "message",
"nonce": "1",
"address": "<string>",
"application": "application",
"chainId": "137"
}
},
"aptosSendCoin": {
"chainId": "1",
"from": "<string>",
"to": "<string>",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"amount": "<string>",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"aptosSendCustom": {
"chainId": "1",
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk=",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"aptosSendNative": {
"chainId": "1",
"from": "<string>",
"to": "<string>",
"value": "<string>",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"btcSendNative": {
"from": "<string>",
"to": "<string>",
"amount": "1000000000000000",
"networkFee": "1"
},
"createWallet": {
"vaultUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"callbackClientSignerPublicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmdWUo3e3/xUd0kbXCz4omzhqcYaPPYNTZ6ndqZdBAo test",
"networkType": "NETWORK_TYPE_UNKNOWN",
"ref": "0x4321567890abcdef4321567890abcdef123456",
"name": "test wallet"
},
"evmMessage": {
"chainId": "137",
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"evmSendCustom": {
"chainId": "1",
"from": "<string>",
"value": "1000000000000000",
"to": "<string>",
"input": "qQWcuwAAAAAAAAAAAAAAAFqutgU/PpTJuaCfM2aUNefvG+rtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACYloA=",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"evmSendErc20": {
"chainId": "137",
"from": "<string>",
"to": "<string>",
"tokenContractAddress": "<string>",
"amount": "1000000000000000",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"evmSendNative": {
"chainId": "137",
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"rawMessage": {
"from": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk=",
"ecdsaHashFunction": "ECDSA_HASH_FUNCTION_UNSPECIFIED"
},
"solanaMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"solanaSendCustom": {
"from": "<string>",
"txBase64": [
"<string>"
],
"chainId": "101"
},
"solanaSendNative": {
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"chainId": "101"
},
"solanaSendSplToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "8y5pTbJpGrUZGFN4M6ACvMbfnhXRrohRnrwannj3Noj",
"amount": "1000000000000000",
"chainId": "101",
"decimals": "6"
},
"sonicSvmSendCustom": {
"from": "<string>",
"txBase64": [
"<string>"
],
"chainId": "101"
},
"sonicSvmSendNative": {
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"chainId": "101"
},
"sonicSvmSendSplToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "8y5pTbJpGrUZGFN4M6ACvMbfnhXRrohRnrwannj3Noj",
"amount": "1000000000000000",
"chainId": "101",
"decimals": "6"
},
"stellarChangeTrust": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"assetCode": "USDC",
"assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"memo": "stellar change trust"
},
"swapApproval": {},
"swapSend": {},
"batchPaymentApproval": {},
"batchPaymentSend": {},
"fiatPayment": {},
"aptosRegisterCoin": {},
"aptosOpenToken": {},
"vaultCreation": {},
"vaultSettingUpdate": {},
"rootKeyGeneration": {},
"rootKeyBackup": {},
"keyAccessGrant": {},
"stellarSendAsset": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"to": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"assetCode": "USDC",
"assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"amount": "10.1",
"memo": "stellar send asset"
},
"stellarSendCustom": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"txBase64": "AQAAAAAAAAAAAAAAAAAAAAAA$999999999999AAAAACAAQABA1kYs4/+LFCaNxckNNsERMcgSwr19dR72mxW6j8qJpGv87LKehWtuOxHGbCNbhMcl4yGWqGCnDXiSuHbqRK1X00AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQICAAEMAgAAKCGAQAAAAAAAA=="
},
"stellarSendNative": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"to": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"value": "10.1",
"memo": "stellar send native"
},
"suiMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"suiSendCoin": {
"from": "<string>",
"to": "<string>",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"amount": "<string>",
"gasFee": {
"budget": "<string>",
"price": "<string>"
}
},
"suiSendCustom": {
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk="
},
"suiSendNative": {
"from": "<string>",
"to": "<string>",
"value": "<string>",
"gasFee": {
"budget": "<string>",
"price": "<string>"
}
},
"tonMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"tonSendCustom": {
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk="
},
"tonSendNative": {
"from": "<string>",
"to": "<string>",
"value": "<string>",
"comment": "<string>"
},
"tonSendToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",
"amount": "<string>",
"comment": "ton send token comment",
"decimals": "6"
},
"tronSendNative": {
"from": "<string>",
"to": "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"value": "1000000000000000"
},
"tronSendTrc10": {
"from": "<string>",
"to": "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"assetName": "ETH",
"amount": "<string>"
},
"tronSendTrc20": {
"from": "<string>",
"to": "<string>",
"contractAddress": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"amount": "<string>",
"feeLimit": "<string>"
}
},
"sendSigningRequest": {
"uuid": "bb6f129f-bbe3-4d95-9f33-c32812e3e1c4",
"status": "STATUS_UNSPECIFIED",
"txHash": "3Eq21vXNB5s86c62bVuUfTerseghjkuUqRPBmGRJhyTA",
"vaultUuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
"failedReason": "failed reason",
"creationTimestamp": "1744274467154",
"notes": "<string>",
"callbackClientSignerPublicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmdWUo3e3/xUd0kbXCz4omzhqcYaPPYNTZ6ndqZdBAo test",
"simulation": "aSDinaTvuI8gbWludGxpZnk=",
"evmInputDataDecode": {
"function": "function_name(arg1_type arg1_value, arg2_type arg2_value, ...)",
"args": [
{
"name": "<string>",
"type": "<string>",
"data": "<string>"
}
]
},
"signatures": {
"signatures": [
{
"ecdsaSignature": {
"R": "<string>",
"S": "<string>",
"V": "<string>"
},
"eddsaSignature": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+Pw=="
}
]
},
"source": {
"type": "TYPE_UNSPECIFIED",
"website": "app.uniswap.org"
},
"aptosMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": {
"message": "message",
"nonce": "1",
"address": "<string>",
"application": "application",
"chainId": "137"
}
},
"aptosSendCoin": {
"chainId": "1",
"from": "<string>",
"to": "<string>",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"amount": "<string>",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"aptosSendCustom": {
"chainId": "1",
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk=",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"aptosSendNative": {
"chainId": "1",
"from": "<string>",
"to": "<string>",
"value": "<string>",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"btcSendNative": {
"from": "<string>",
"to": "<string>",
"amount": "1000000000000000",
"networkFee": "1"
},
"createWallet": {
"vaultUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"callbackClientSignerPublicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmdWUo3e3/xUd0kbXCz4omzhqcYaPPYNTZ6ndqZdBAo test",
"networkType": "NETWORK_TYPE_UNKNOWN",
"ref": "0x4321567890abcdef4321567890abcdef123456",
"name": "test wallet"
},
"evmMessage": {
"chainId": "137",
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"evmSendCustom": {
"chainId": "1",
"from": "<string>",
"value": "1000000000000000",
"to": "<string>",
"input": "qQWcuwAAAAAAAAAAAAAAAFqutgU/PpTJuaCfM2aUNefvG+rtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACYloA=",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"evmSendErc20": {
"chainId": "137",
"from": "<string>",
"to": "<string>",
"tokenContractAddress": "<string>",
"amount": "1000000000000000",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"evmSendNative": {
"chainId": "137",
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"rawMessage": {
"from": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk=",
"ecdsaHashFunction": "ECDSA_HASH_FUNCTION_UNSPECIFIED"
},
"solanaMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"solanaSendCustom": {
"from": "<string>",
"txBase64": [
"<string>"
],
"chainId": "101"
},
"solanaSendNative": {
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"chainId": "101"
},
"solanaSendSplToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "8y5pTbJpGrUZGFN4M6ACvMbfnhXRrohRnrwannj3Noj",
"amount": "1000000000000000",
"chainId": "101",
"decimals": "6"
},
"sonicSvmSendCustom": {
"from": "<string>",
"txBase64": [
"<string>"
],
"chainId": "101"
},
"sonicSvmSendNative": {
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"chainId": "101"
},
"sonicSvmSendSplToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "8y5pTbJpGrUZGFN4M6ACvMbfnhXRrohRnrwannj3Noj",
"amount": "1000000000000000",
"chainId": "101",
"decimals": "6"
},
"stellarChangeTrust": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"assetCode": "USDC",
"assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"memo": "stellar change trust"
},
"swapApproval": {},
"swapSend": {},
"batchPaymentApproval": {},
"batchPaymentSend": {},
"fiatPayment": {},
"aptosRegisterCoin": {},
"aptosOpenToken": {},
"vaultCreation": {},
"vaultSettingUpdate": {},
"rootKeyGeneration": {},
"rootKeyBackup": {},
"keyAccessGrant": {},
"stellarSendAsset": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"to": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"assetCode": "USDC",
"assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"amount": "10.1",
"memo": "stellar send asset"
},
"stellarSendCustom": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"txBase64": "AQAAAAAAAAAAAAAAAAAAAAAA$999999999999AAAAACAAQABA1kYs4/+LFCaNxckNNsERMcgSwr19dR72mxW6j8qJpGv87LKehWtuOxHGbCNbhMcl4yGWqGCnDXiSuHbqRK1X00AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQICAAEMAgAAKCGAQAAAAAAAA=="
},
"stellarSendNative": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"to": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"value": "10.1",
"memo": "stellar send native"
},
"suiMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"suiSendCoin": {
"from": "<string>",
"to": "<string>",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"amount": "<string>",
"gasFee": {
"budget": "<string>",
"price": "<string>"
}
},
"suiSendCustom": {
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk="
},
"suiSendNative": {
"from": "<string>",
"to": "<string>",
"value": "<string>",
"gasFee": {
"budget": "<string>",
"price": "<string>"
}
},
"tonMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"tonSendCustom": {
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk="
},
"tonSendNative": {
"from": "<string>",
"to": "<string>",
"value": "<string>",
"comment": "<string>"
},
"tonSendToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",
"amount": "<string>",
"comment": "ton send token comment",
"decimals": "6"
},
"tronSendNative": {
"from": "<string>",
"to": "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"value": "1000000000000000"
},
"tronSendTrc10": {
"from": "<string>",
"to": "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"assetName": "ETH",
"amount": "<string>"
},
"tronSendTrc20": {
"from": "<string>",
"to": "<string>",
"contractAddress": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"amount": "<string>",
"feeLimit": "<string>"
}
},
"btcBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendErc20": {
"chainId": "137",
"from": "<string>",
"tokenContractAddress": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendNative": {
"chainId": "137",
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendCoin": {
"from": "0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
}
},
"error": {
"message": "<string>",
"executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED",
"serviceErrorCode": "SERVICE_ERROR_CODE_UNSPECIFIED"
}
}Batch Payments
CreateBatchPayment
Create a batch payment to send tokens to multiple recipients. Complete the batch payment in the MPCVault web app.
POST
/
v1
/
createBatchPayment
CreateBatchPayment
curl --request POST \
--url https://api.mpcvault.com/v1/createBatchPayment \
--header 'Content-Type: application/json' \
--header 'x-mtoken: <api-key>' \
--data '
{
"name": "Monthly payroll",
"notes": "Monthly payroll",
"btcBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendErc20": {
"chainId": "137",
"from": "<string>",
"tokenContractAddress": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendNative": {
"chainId": "137",
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendCoin": {
"from": "0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
}
}
'import requests
url = "https://api.mpcvault.com/v1/createBatchPayment"
payload = {
"name": "Monthly payroll",
"notes": "Monthly payroll",
"btcBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendErc20": {
"chainId": "137",
"from": "<string>",
"tokenContractAddress": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendNative": {
"chainId": "137",
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendCoin": {
"from": "0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
}
}
headers = {
"x-mtoken": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-mtoken': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: 'Monthly payroll',
notes: 'Monthly payroll',
btcBatchSendNative: {
from: '<string>',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
},
evmBatchSendErc20: {
chainId: '137',
from: '<string>',
tokenContractAddress: '<string>',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
},
evmBatchSendNative: {
chainId: '137',
from: '<string>',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
},
suiBatchSendCoin: {
from: '0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50',
coinTag: 'tx_hash:0a1b2c3d...789e, output_index:0',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
},
suiBatchSendNative: {
from: '<string>',
recipients: [{address: '<string>', amount: '<string>', notes: 'Monthly payroll'}]
}
})
};
fetch('https://api.mpcvault.com/v1/createBatchPayment', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.mpcvault.com/v1/createBatchPayment",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => 'Monthly payroll',
'notes' => 'Monthly payroll',
'btcBatchSendNative' => [
'from' => '<string>',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
],
'evmBatchSendErc20' => [
'chainId' => '137',
'from' => '<string>',
'tokenContractAddress' => '<string>',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
],
'evmBatchSendNative' => [
'chainId' => '137',
'from' => '<string>',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
],
'suiBatchSendCoin' => [
'from' => '0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50',
'coinTag' => 'tx_hash:0a1b2c3d...789e, output_index:0',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
],
'suiBatchSendNative' => [
'from' => '<string>',
'recipients' => [
[
'address' => '<string>',
'amount' => '<string>',
'notes' => 'Monthly payroll'
]
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-mtoken: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.mpcvault.com/v1/createBatchPayment"
payload := strings.NewReader("{\n \"name\": \"Monthly payroll\",\n \"notes\": \"Monthly payroll\",\n \"btcBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendErc20\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"tokenContractAddress\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendNative\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendCoin\": {\n \"from\": \"0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50\",\n \"coinTag\": \"tx_hash:0a1b2c3d...789e, output_index:0\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-mtoken", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.mpcvault.com/v1/createBatchPayment")
.header("x-mtoken", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"Monthly payroll\",\n \"notes\": \"Monthly payroll\",\n \"btcBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendErc20\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"tokenContractAddress\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendNative\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendCoin\": {\n \"from\": \"0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50\",\n \"coinTag\": \"tx_hash:0a1b2c3d...789e, output_index:0\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.mpcvault.com/v1/createBatchPayment")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-mtoken"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"Monthly payroll\",\n \"notes\": \"Monthly payroll\",\n \"btcBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendErc20\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"tokenContractAddress\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"evmBatchSendNative\": {\n \"chainId\": \"137\",\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendCoin\": {\n \"from\": \"0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50\",\n \"coinTag\": \"tx_hash:0a1b2c3d...789e, output_index:0\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n },\n \"suiBatchSendNative\": {\n \"from\": \"<string>\",\n \"recipients\": [\n {\n \"address\": \"<string>\",\n \"amount\": \"<string>\",\n \"notes\": \"Monthly payroll\"\n }\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"batchPayment": {
"uuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
"status": "STATUS_UNSPECIFIED",
"creationTimestamp": "1744274467154",
"name": "name1",
"notes": "notes test",
"failedReason": "failed reason",
"approvalSigningRequest": {
"uuid": "bb6f129f-bbe3-4d95-9f33-c32812e3e1c4",
"status": "STATUS_UNSPECIFIED",
"txHash": "3Eq21vXNB5s86c62bVuUfTerseghjkuUqRPBmGRJhyTA",
"vaultUuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
"failedReason": "failed reason",
"creationTimestamp": "1744274467154",
"notes": "<string>",
"callbackClientSignerPublicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmdWUo3e3/xUd0kbXCz4omzhqcYaPPYNTZ6ndqZdBAo test",
"simulation": "aSDinaTvuI8gbWludGxpZnk=",
"evmInputDataDecode": {
"function": "function_name(arg1_type arg1_value, arg2_type arg2_value, ...)",
"args": [
{
"name": "<string>",
"type": "<string>",
"data": "<string>"
}
]
},
"signatures": {
"signatures": [
{
"ecdsaSignature": {
"R": "<string>",
"S": "<string>",
"V": "<string>"
},
"eddsaSignature": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+Pw=="
}
]
},
"source": {
"type": "TYPE_UNSPECIFIED",
"website": "app.uniswap.org"
},
"aptosMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": {
"message": "message",
"nonce": "1",
"address": "<string>",
"application": "application",
"chainId": "137"
}
},
"aptosSendCoin": {
"chainId": "1",
"from": "<string>",
"to": "<string>",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"amount": "<string>",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"aptosSendCustom": {
"chainId": "1",
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk=",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"aptosSendNative": {
"chainId": "1",
"from": "<string>",
"to": "<string>",
"value": "<string>",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"btcSendNative": {
"from": "<string>",
"to": "<string>",
"amount": "1000000000000000",
"networkFee": "1"
},
"createWallet": {
"vaultUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"callbackClientSignerPublicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmdWUo3e3/xUd0kbXCz4omzhqcYaPPYNTZ6ndqZdBAo test",
"networkType": "NETWORK_TYPE_UNKNOWN",
"ref": "0x4321567890abcdef4321567890abcdef123456",
"name": "test wallet"
},
"evmMessage": {
"chainId": "137",
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"evmSendCustom": {
"chainId": "1",
"from": "<string>",
"value": "1000000000000000",
"to": "<string>",
"input": "qQWcuwAAAAAAAAAAAAAAAFqutgU/PpTJuaCfM2aUNefvG+rtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACYloA=",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"evmSendErc20": {
"chainId": "137",
"from": "<string>",
"to": "<string>",
"tokenContractAddress": "<string>",
"amount": "1000000000000000",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"evmSendNative": {
"chainId": "137",
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"rawMessage": {
"from": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk=",
"ecdsaHashFunction": "ECDSA_HASH_FUNCTION_UNSPECIFIED"
},
"solanaMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"solanaSendCustom": {
"from": "<string>",
"txBase64": [
"<string>"
],
"chainId": "101"
},
"solanaSendNative": {
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"chainId": "101"
},
"solanaSendSplToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "8y5pTbJpGrUZGFN4M6ACvMbfnhXRrohRnrwannj3Noj",
"amount": "1000000000000000",
"chainId": "101",
"decimals": "6"
},
"sonicSvmSendCustom": {
"from": "<string>",
"txBase64": [
"<string>"
],
"chainId": "101"
},
"sonicSvmSendNative": {
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"chainId": "101"
},
"sonicSvmSendSplToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "8y5pTbJpGrUZGFN4M6ACvMbfnhXRrohRnrwannj3Noj",
"amount": "1000000000000000",
"chainId": "101",
"decimals": "6"
},
"stellarChangeTrust": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"assetCode": "USDC",
"assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"memo": "stellar change trust"
},
"swapApproval": {},
"swapSend": {},
"batchPaymentApproval": {},
"batchPaymentSend": {},
"fiatPayment": {},
"aptosRegisterCoin": {},
"aptosOpenToken": {},
"vaultCreation": {},
"vaultSettingUpdate": {},
"rootKeyGeneration": {},
"rootKeyBackup": {},
"keyAccessGrant": {},
"stellarSendAsset": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"to": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"assetCode": "USDC",
"assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"amount": "10.1",
"memo": "stellar send asset"
},
"stellarSendCustom": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"txBase64": "AQAAAAAAAAAAAAAAAAAAAAAA$999999999999AAAAACAAQABA1kYs4/+LFCaNxckNNsERMcgSwr19dR72mxW6j8qJpGv87LKehWtuOxHGbCNbhMcl4yGWqGCnDXiSuHbqRK1X00AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQICAAEMAgAAKCGAQAAAAAAAA=="
},
"stellarSendNative": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"to": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"value": "10.1",
"memo": "stellar send native"
},
"suiMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"suiSendCoin": {
"from": "<string>",
"to": "<string>",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"amount": "<string>",
"gasFee": {
"budget": "<string>",
"price": "<string>"
}
},
"suiSendCustom": {
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk="
},
"suiSendNative": {
"from": "<string>",
"to": "<string>",
"value": "<string>",
"gasFee": {
"budget": "<string>",
"price": "<string>"
}
},
"tonMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"tonSendCustom": {
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk="
},
"tonSendNative": {
"from": "<string>",
"to": "<string>",
"value": "<string>",
"comment": "<string>"
},
"tonSendToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",
"amount": "<string>",
"comment": "ton send token comment",
"decimals": "6"
},
"tronSendNative": {
"from": "<string>",
"to": "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"value": "1000000000000000"
},
"tronSendTrc10": {
"from": "<string>",
"to": "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"assetName": "ETH",
"amount": "<string>"
},
"tronSendTrc20": {
"from": "<string>",
"to": "<string>",
"contractAddress": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"amount": "<string>",
"feeLimit": "<string>"
}
},
"sendSigningRequest": {
"uuid": "bb6f129f-bbe3-4d95-9f33-c32812e3e1c4",
"status": "STATUS_UNSPECIFIED",
"txHash": "3Eq21vXNB5s86c62bVuUfTerseghjkuUqRPBmGRJhyTA",
"vaultUuid": "9f5ee5fb-07f5-470c-a2ff-081e2d6d107a",
"failedReason": "failed reason",
"creationTimestamp": "1744274467154",
"notes": "<string>",
"callbackClientSignerPublicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmdWUo3e3/xUd0kbXCz4omzhqcYaPPYNTZ6ndqZdBAo test",
"simulation": "aSDinaTvuI8gbWludGxpZnk=",
"evmInputDataDecode": {
"function": "function_name(arg1_type arg1_value, arg2_type arg2_value, ...)",
"args": [
{
"name": "<string>",
"type": "<string>",
"data": "<string>"
}
]
},
"signatures": {
"signatures": [
{
"ecdsaSignature": {
"R": "<string>",
"S": "<string>",
"V": "<string>"
},
"eddsaSignature": "AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+Pw=="
}
]
},
"source": {
"type": "TYPE_UNSPECIFIED",
"website": "app.uniswap.org"
},
"aptosMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": {
"message": "message",
"nonce": "1",
"address": "<string>",
"application": "application",
"chainId": "137"
}
},
"aptosSendCoin": {
"chainId": "1",
"from": "<string>",
"to": "<string>",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"amount": "<string>",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"aptosSendCustom": {
"chainId": "1",
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk=",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"aptosSendNative": {
"chainId": "1",
"from": "<string>",
"to": "<string>",
"value": "<string>",
"gasFee": {
"maxGasAmount": "<string>",
"gasUnitPrice": "<string>"
}
},
"btcSendNative": {
"from": "<string>",
"to": "<string>",
"amount": "1000000000000000",
"networkFee": "1"
},
"createWallet": {
"vaultUuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"callbackClientSignerPublicKey": "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDmdWUo3e3/xUd0kbXCz4omzhqcYaPPYNTZ6ndqZdBAo test",
"networkType": "NETWORK_TYPE_UNKNOWN",
"ref": "0x4321567890abcdef4321567890abcdef123456",
"name": "test wallet"
},
"evmMessage": {
"chainId": "137",
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"evmSendCustom": {
"chainId": "1",
"from": "<string>",
"value": "1000000000000000",
"to": "<string>",
"input": "qQWcuwAAAAAAAAAAAAAAAFqutgU/PpTJuaCfM2aUNefvG+rtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACYloA=",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"evmSendErc20": {
"chainId": "137",
"from": "<string>",
"to": "<string>",
"tokenContractAddress": "<string>",
"amount": "1000000000000000",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"evmSendNative": {
"chainId": "137",
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"gasFee": {
"maxFee": "<string>",
"maxPriorityFee": "1500000000",
"gasLimit": "30000000000"
},
"nonce": "1"
},
"rawMessage": {
"from": "<string>",
"content": "aSDinaTvuI8gbWludGxpZnk=",
"ecdsaHashFunction": "ECDSA_HASH_FUNCTION_UNSPECIFIED"
},
"solanaMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"solanaSendCustom": {
"from": "<string>",
"txBase64": [
"<string>"
],
"chainId": "101"
},
"solanaSendNative": {
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"chainId": "101"
},
"solanaSendSplToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "8y5pTbJpGrUZGFN4M6ACvMbfnhXRrohRnrwannj3Noj",
"amount": "1000000000000000",
"chainId": "101",
"decimals": "6"
},
"sonicSvmSendCustom": {
"from": "<string>",
"txBase64": [
"<string>"
],
"chainId": "101"
},
"sonicSvmSendNative": {
"from": "<string>",
"to": "<string>",
"value": "1000000000000000",
"chainId": "101"
},
"sonicSvmSendSplToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "8y5pTbJpGrUZGFN4M6ACvMbfnhXRrohRnrwannj3Noj",
"amount": "1000000000000000",
"chainId": "101",
"decimals": "6"
},
"stellarChangeTrust": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"assetCode": "USDC",
"assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"memo": "stellar change trust"
},
"swapApproval": {},
"swapSend": {},
"batchPaymentApproval": {},
"batchPaymentSend": {},
"fiatPayment": {},
"aptosRegisterCoin": {},
"aptosOpenToken": {},
"vaultCreation": {},
"vaultSettingUpdate": {},
"rootKeyGeneration": {},
"rootKeyBackup": {},
"keyAccessGrant": {},
"stellarSendAsset": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"to": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"assetCode": "USDC",
"assetIssuer": "GA5ZSEJYB37JRC5AVCIA5MOP4RHTM335X2KGX3IHOJAPP5RE34K4KZVN",
"amount": "10.1",
"memo": "stellar send asset"
},
"stellarSendCustom": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"txBase64": "AQAAAAAAAAAAAAAAAAAAAAAA$999999999999AAAAACAAQABA1kYs4/+LFCaNxckNNsERMcgSwr19dR72mxW6j8qJpGv87LKehWtuOxHGbCNbhMcl4yGWqGCnDXiSuHbqRK1X00AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQICAAEMAgAAKCGAQAAAAAAAA=="
},
"stellarSendNative": {
"from": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"to": "GAAACAQDAQCQMBYIBEFAWDANBYHRAEISCMKBKFQXDAMRUGY4DUPB7JZX",
"value": "10.1",
"memo": "stellar send native"
},
"suiMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"suiSendCoin": {
"from": "<string>",
"to": "<string>",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"amount": "<string>",
"gasFee": {
"budget": "<string>",
"price": "<string>"
}
},
"suiSendCustom": {
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk="
},
"suiSendNative": {
"from": "<string>",
"to": "<string>",
"value": "<string>",
"gasFee": {
"budget": "<string>",
"price": "<string>"
}
},
"tonMessage": {
"from": "<string>",
"type": "TYPE_UNSPECIFIED",
"content": "aSDinaTvuI8gbWludGxpZnk="
},
"tonSendCustom": {
"from": "<string>",
"payload": "aSDinaTvuI8gbWludGxpZnk="
},
"tonSendNative": {
"from": "<string>",
"to": "<string>",
"value": "<string>",
"comment": "<string>"
},
"tonSendToken": {
"from": "<string>",
"to": "<string>",
"mintAddress": "EQCxE6mUtQJKFnGfaROTKOt1lZbDiiX1kCixRv7Nw2Id_sDs",
"amount": "<string>",
"comment": "ton send token comment",
"decimals": "6"
},
"tronSendNative": {
"from": "<string>",
"to": "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"value": "1000000000000000"
},
"tronSendTrc10": {
"from": "<string>",
"to": "TLa2f6VPqDgRE67v1736s7bJ8Ray5wYjU7",
"assetName": "ETH",
"amount": "<string>"
},
"tronSendTrc20": {
"from": "<string>",
"to": "<string>",
"contractAddress": "TR7NHqjeKQxGTCi8q8ZY4pL8otSzgjLj6t",
"amount": "<string>",
"feeLimit": "<string>"
}
},
"btcBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendErc20": {
"chainId": "137",
"from": "<string>",
"tokenContractAddress": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"evmBatchSendNative": {
"chainId": "137",
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendCoin": {
"from": "0x7c2f7eaa24d7eab7f7fd981da47684fb349689a6324be2a9696eb2645fd4be50",
"coinTag": "tx_hash:0a1b2c3d...789e, output_index:0",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
},
"suiBatchSendNative": {
"from": "<string>",
"recipients": [
{
"address": "<string>",
"amount": "<string>",
"notes": "Monthly payroll"
}
]
}
},
"error": {
"message": "<string>",
"executeSigningRequestsErrorCode": "EXECUTE_SIGNING_REQUESTS_ERROR_CODE_UNSPECIFIED",
"serviceErrorCode": "SERVICE_ERROR_CODE_UNSPECIFIED"
}
}Creates a batch payment in a single request. Complete and send the batch payment in the MPCVault web app. In the Try It playground, select a batch type from the tabs and fill in the required fields.
Show Batch types
Show Batch types
| Type | Use case |
|---|---|
| EVM Batch Native / ERC20 | Batch send ETH or ERC20 tokens to multiple addresses |
| BTC Batch Native | Batch send BTC to multiple addresses |
| Sui Batch Native / Coin | Batch send SUI or Sui coins to multiple addresses |
Authorizations
Your API token. Required for all API requests.
Body
application/json
Exactly one batch variant field must be set. The batch is rejected on a custom EVM network. The sender must be an active wallet in a vault the API token can access.
Name of the batch payment. 1 to 85 Unicode code points.
Required string length:
1 - 85Example:
"Monthly payroll"
Transaction notes for the batch payment. At most 1000 Unicode code points.
Maximum string length:
1000Example:
"Monthly payroll"
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?