Triggers
Get Trigger
Triggers
Get Trigger
GET
/
triggers
/
{app_id}
/
{trigger_id}
{
"id": "<string>",
"name": "<string>",
"custom_address_enabled": true,
"custom_address": "<string>",
"call_data": {
"near": {
"contract_id": "<string>",
"method_name": "<string>",
"method_type": "change",
"attached_deposit_amount": "<string>",
"gas_amount": "<string>",
"data": {},
"data_input": {},
"template": "<string>"
},
"evm": {
"contract_id": "<string>",
"method_name": "<string>",
"method_type": "change",
"abi": "<string>",
"gas_limit": "<string>",
"data": [
{}
],
"data_input": {},
"template": "<string>"
},
"wax": {
"contract_id": "<string>",
"method_name": "<string>",
"gas_limit": "<string>",
"data": [
{}
],
"data_input": {},
"abi": "<string>",
"template": "<string>"
},
"solana": {
"contract_id": "<string>",
"method_name": "<string>",
"method_type": "change",
"abi": "<string>",
"compute_units": "<string>",
"data": [
{}
],
"data_input": {},
"template": "<string>"
}
},
"params_data": {
"number": {
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"string": {
"is_ethereum_address": true,
"is_near_address": true,
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"boolean": {
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"object": {
"value": [
{}
],
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"array": {
"value": {},
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
}
},
"params_data_input": {
"number": {
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"string": {
"is_ethereum_address": true,
"is_near_address": true,
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"boolean": {
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"object": {
"value": [
{}
],
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"array": {
"value": {},
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
}
},
"params_data_example": "<string>",
"app": {
"id": "<string>",
"name": "<string>",
"type": "individual",
"status": "draft",
"kyc_return_url": "<string>",
"use_explorer": true,
"permissions": {
"can_view": true,
"can_edit": true,
"can_delete": true,
"can_edit_members": true
},
"app_fee": 123,
"user": {
"id": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"is_member": true,
"featured": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"theme": {
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"styles": {
"colors": {
"primary": "<string>",
"background": "<string>",
"text": "<string>",
"accent": "<string>",
"alternativeBackground": "<string>",
"info": "<string>"
}
},
"visibility": "public"
}
},
"wallet": {
"id": "<string>",
"name": "<string>",
"type": "near",
"managed": true,
"wallet_data": {
"near": {
"network_id": "mainnet",
"account_id": "<string>",
"phrase_or_key": "<string>",
"test_network": true
},
"evm": {
"network_id": "ethereum",
"account_id": "<string>",
"private_key": "<string>",
"test_network": true
},
"wax": {
"network_id": "mainnet",
"account_id": "<string>",
"permission": "<string>",
"public_key": "<string>",
"private_key": "<string>",
"test_network": true
},
"solana": {
"network_id": "mainnet",
"account_id": "<string>",
"private_key": "<string>",
"test_network": true
}
},
"app": {
"id": "<string>",
"name": "<string>",
"type": "individual",
"status": "draft",
"kyc_return_url": "<string>",
"use_explorer": true,
"permissions": {
"can_view": true,
"can_edit": true,
"can_delete": true,
"can_edit_members": true
},
"app_fee": 123,
"user": {
"id": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"is_member": true,
"featured": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"theme": {
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"styles": {
"colors": {
"primary": "<string>",
"background": "<string>",
"text": "<string>",
"accent": "<string>",
"alternativeBackground": "<string>",
"info": "<string>"
}
},
"visibility": "public"
}
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"magic_network": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
Response
200 - application/json
Available options:
change
Maximum length:
128
Available options:
change
Maximum length:
128
Available options:
change
Maximum length:
128
Available options:
individual
, marketplace
Available options:
draft
, submitted
, active
, disabled
, deleted
Available options:
public
, private
Available options:
near
, evm
, wax
, solana
Available options:
ethereum
, goerli
, sepolia
, avalanche
, avalanche-fuji
, bsc
, bsc-testnet
, polygon
, polygon-mumbai
, fantom
, fantom-testnet
, arbitrum
, arbitrum-goerli
, optimism
, optimism-goerli
, base
, base-goerli
, manta
, manta-testnet
, zksync-era
, zksync-era-testnet
, berachain-artio
Available options:
mainnet
, testnet
Available options:
individual
, marketplace
Available options:
draft
, submitted
, active
, disabled
, deleted
Available options:
public
, private
Maximum length:
256
Maximum length:
256
Maximum length:
256
Maximum length:
256
Maximum length:
256
Maximum length:
256
Maximum length:
256
Maximum length:
256
{
"id": "<string>",
"name": "<string>",
"custom_address_enabled": true,
"custom_address": "<string>",
"call_data": {
"near": {
"contract_id": "<string>",
"method_name": "<string>",
"method_type": "change",
"attached_deposit_amount": "<string>",
"gas_amount": "<string>",
"data": {},
"data_input": {},
"template": "<string>"
},
"evm": {
"contract_id": "<string>",
"method_name": "<string>",
"method_type": "change",
"abi": "<string>",
"gas_limit": "<string>",
"data": [
{}
],
"data_input": {},
"template": "<string>"
},
"wax": {
"contract_id": "<string>",
"method_name": "<string>",
"gas_limit": "<string>",
"data": [
{}
],
"data_input": {},
"abi": "<string>",
"template": "<string>"
},
"solana": {
"contract_id": "<string>",
"method_name": "<string>",
"method_type": "change",
"abi": "<string>",
"compute_units": "<string>",
"data": [
{}
],
"data_input": {},
"template": "<string>"
}
},
"params_data": {
"number": {
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"string": {
"is_ethereum_address": true,
"is_near_address": true,
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"boolean": {
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"object": {
"value": [
{}
],
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"array": {
"value": {},
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
}
},
"params_data_input": {
"number": {
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"string": {
"is_ethereum_address": true,
"is_near_address": true,
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"boolean": {
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"object": {
"value": [
{}
],
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
},
"array": {
"value": {},
"name": "<string>",
"desc": "<string>",
"optional": true,
"nullable": true
}
},
"params_data_example": "<string>",
"app": {
"id": "<string>",
"name": "<string>",
"type": "individual",
"status": "draft",
"kyc_return_url": "<string>",
"use_explorer": true,
"permissions": {
"can_view": true,
"can_edit": true,
"can_delete": true,
"can_edit_members": true
},
"app_fee": 123,
"user": {
"id": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"is_member": true,
"featured": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"theme": {
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"styles": {
"colors": {
"primary": "<string>",
"background": "<string>",
"text": "<string>",
"accent": "<string>",
"alternativeBackground": "<string>",
"info": "<string>"
}
},
"visibility": "public"
}
},
"wallet": {
"id": "<string>",
"name": "<string>",
"type": "near",
"managed": true,
"wallet_data": {
"near": {
"network_id": "mainnet",
"account_id": "<string>",
"phrase_or_key": "<string>",
"test_network": true
},
"evm": {
"network_id": "ethereum",
"account_id": "<string>",
"private_key": "<string>",
"test_network": true
},
"wax": {
"network_id": "mainnet",
"account_id": "<string>",
"permission": "<string>",
"public_key": "<string>",
"private_key": "<string>",
"test_network": true
},
"solana": {
"network_id": "mainnet",
"account_id": "<string>",
"private_key": "<string>",
"test_network": true
}
},
"app": {
"id": "<string>",
"name": "<string>",
"type": "individual",
"status": "draft",
"kyc_return_url": "<string>",
"use_explorer": true,
"permissions": {
"can_view": true,
"can_edit": true,
"can_delete": true,
"can_edit_members": true
},
"app_fee": 123,
"user": {
"id": "<string>",
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"is_member": true,
"featured": true,
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"theme": {
"id": "<string>",
"name": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"styles": {
"colors": {
"primary": "<string>",
"background": "<string>",
"text": "<string>",
"accent": "<string>",
"alternativeBackground": "<string>",
"info": "<string>"
}
},
"visibility": "public"
}
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"magic_network": "<string>"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}