$BADGE Transfers

coinTransfers are the $BADGE to be sent every use of the approval. There can be multiple transfers to implement complex royalty systems, for example. Or, you can leave it blank for no $BADGE tranfers.

Note: $BADGE refers to the native gas token of the blockchain, not a specific badge.

export interface iCoinTransfer<T extends NumberType> {
  /**
   * The recipient of the coin transfer. This should be a Bech32 Cosmos address.
   */
  to: string;
  /**
   * The coins
   */
  coins: iCosmosCoin<T>[];
}
export interface iCosmosCoin<T extends NumberType> {
  /** The amount of the coin. */
  amount: T;
  /** The denomination of the coin. */
  denom: string;
}

Last updated