Set Wallet Address Name
Set the wallet address for a specific wallet
⚠️
To run this query you need the RowId parameter. To find this one you need to first use our Get Wallet Address command.
Example
mutation setWalletAddressName {
setWalletAddressName(input: { addressId: 12345, uname: "my_username", walletAddressName: "new_name_wallet" }) {
walletAddress {
address
addressName
rowId
paymentSplitPercentage
walletId
}
}
}
Response
{
"data": {
"setWalletAddressName": {
"walletAddress": {
"address": "",
"addressName": "new_name_wallet",
"rowId": 12345,
"paymentSplitPercentage": 0,
"walletId": 12345
}
}
}
}
Arguments
input
(SetWalletAddressNameInput!)
The exclusive input argument for this mutation. An object type, make sure to see documentation for this object’s fields.
type SetWalletAddressNameInput {
clientMutationId: String
uname: String
addressId: Int
walletAddressName: String
}
Type
SetWalletAddressNamePayload
The output of our setWalletAddressName
mutation.
type SetWalletAddressNamePayload {
clientMutationId: String
walletAddress: WalletAddress
query: Query
}
Fields
-
clientMutationId
(String
) The exact sameclientMutationId
that was provided in the mutation input, unchanged and unused. May be used by a client to track mutations. -
walletAddress
(WalletAddress)
type WalletAddress {
rowId: Int
walletId: Int
address: String
paymentSplitPercentage: Int
addressName: String
}
query
(Query)