API Docs
Wallets & Payment
Set Wallet Address Name

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
}
  • clientMutationId (String) An arbitrary string value with no semantic meaning. Will be included in the payload verbatim. May be used to track mutations by the client.

  • 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 same clientMutationId 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)