broadcastTransaction
Broadcast a signed transaction across 60+ blockchain networks using the Adamik MCP Server. Ensure proper key management and signing before execution for secure and efficient transaction processing.
Instructions
Broadcast a signed transaction. You will probably need another MCP server dedicated in key management and signing before using this.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
body | Yes | ||
chainId | Yes |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"transaction": {
"additionalProperties": false,
"properties": {
"data": {
"allOf": [
{
"properties": {
"fees": {
"type": "string"
},
"gas": {
"type": "string"
},
"memo": {
"type": "string"
},
"nonce": {
"type": "string"
},
"params": {
"additionalProperties": {},
"type": "object"
}
},
"required": [
"fees"
],
"type": "object"
},
{
"anyOf": [
{
"additionalProperties": false,
"properties": {
"contractType": {
"const": "argentx",
"default": "argentx",
"type": "string"
},
"mode": {
"const": "deployAccount",
"type": "string"
},
"senderPubKey": {
"type": "string"
}
},
"required": [
"mode",
"senderPubKey"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"mode": {
"const": "transfer",
"type": "string"
},
"recipientAddress": {
"type": "string"
},
"senderAddress": {
"type": "string"
},
"senderPubKey": {
"type": "string"
},
"useMaxAmount": {
"default": false,
"type": "boolean"
}
},
"required": [
"mode",
"senderAddress",
"recipientAddress"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"mode": {
"const": "transferToken",
"type": "string"
},
"recipientAddress": {
"type": "string"
},
"senderAddress": {
"type": "string"
},
"senderPubKey": {
"type": "string"
},
"tokenId": {
"type": "string"
},
"useMaxAmount": {
"default": false,
"type": "boolean"
}
},
"required": [
"mode",
"tokenId",
"senderAddress",
"recipientAddress"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"mode": {
"const": "stake",
"type": "string"
},
"senderAddress": {
"type": "string"
},
"senderPubKey": {
"type": "string"
},
"sourceValidatorAddress": {
"type": "string"
},
"targetValidatorAddress": {
"type": "string"
},
"useMaxAmount": {
"default": false,
"type": "boolean"
}
},
"required": [
"mode",
"senderAddress",
"targetValidatorAddress"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"mode": {
"const": "unstake",
"type": "string"
},
"senderAddress": {
"type": "string"
},
"senderPubKey": {
"type": "string"
},
"stakeId": {
"type": "string"
},
"useMaxAmount": {
"default": false,
"type": "boolean"
},
"validatorAddress": {
"type": "string"
}
},
"required": [
"mode",
"senderAddress",
"validatorAddress"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"compound": {
"default": false,
"type": "boolean"
},
"mode": {
"const": "claimRewards",
"type": "string"
},
"senderAddress": {
"type": "string"
},
"senderPubKey": {
"type": "string"
},
"stakeId": {
"type": "string"
},
"validatorAddress": {
"type": "string"
}
},
"required": [
"mode",
"senderAddress",
"validatorAddress"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"mode": {
"const": "withdraw",
"type": "string"
},
"recipientAddress": {
"type": "string"
},
"senderAddress": {
"type": "string"
},
"senderPubKey": {
"type": "string"
},
"stakeId": {
"type": "string"
},
"validatorAddress": {
"type": "string"
}
},
"required": [
"mode",
"senderAddress",
"senderPubKey",
"recipientAddress"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"amount": {
"type": "string"
},
"mode": {
"const": "registerStake",
"type": "string"
},
"proofOfPossession": {
"type": "string"
},
"senderAddress": {
"type": "string"
},
"senderForeignPubKey": {
"type": "string"
},
"senderPubKey": {
"type": "string"
},
"signedSlashingTransaction": {
"type": "string"
},
"signedStakingTransaction": {
"type": "string"
},
"signedUnbondingSlashingTransaction": {
"type": "string"
},
"unsignedUnbondingTransaction": {
"type": "string"
},
"validatorPubKey": {
"type": "string"
}
},
"required": [
"mode",
"senderAddress",
"senderPubKey",
"senderForeignPubKey",
"proofOfPossession",
"amount",
"validatorPubKey",
"unsignedUnbondingTransaction",
"signedStakingTransaction",
"signedSlashingTransaction",
"signedUnbondingSlashingTransaction"
],
"type": "object"
}
]
}
]
},
"encoded": {
"items": {
"additionalProperties": false,
"properties": {
"hash": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"sha256",
"keccak256",
"sha512_256",
"pedersen"
],
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"format",
"value"
],
"type": "object"
},
"raw": {
"additionalProperties": false,
"properties": {
"format": {
"enum": [
"RLP",
"WALLET_CONNECT",
"SIGNDOC_DIRECT",
"SIGNDOC_DIRECT_JSON",
"SIGNDOC_AMINO",
"SIGNDOC_AMINO_JSON",
"BOC",
"RAW_TRANSACTION",
"MSGPACK",
"PSBT",
"BCS"
],
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"format",
"value"
],
"type": "object"
}
},
"type": "object"
},
"type": "array"
},
"signature": {
"type": "string"
}
},
"required": [
"data",
"encoded",
"signature"
],
"type": "object"
}
},
"required": [
"transaction"
],
"type": "object"
},
"chainId": {
"type": "string"
}
},
"required": [
"chainId",
"body"
],
"type": "object"
}