AddCosmosBasedChainRequest: {
    create<I>(base?): AddCosmosBasedChainRequest;
    decode(input, length?): AddCosmosBasedChainRequest;
    encode(message, writer?): Writer;
    fromJSON(object): AddCosmosBasedChainRequest;
    fromPartial<I>(object): AddCosmosBasedChainRequest;
    toJSON(message): unknown;
}

Type declaration

  • create:function
    • Type Parameters

      • I extends {
            addrPrefix?: string;
            chain?: {
                keyType?: KeyType;
                module?: string;
                name?: string;
                supportsForeignAssets?: boolean;
            };
            cosmosChain?: string;
            ibcPath?: string;
            nativeAssets?: {
                denom?: string;
                isNativeAsset?: boolean;
            }[];
            sender?: Uint8Array;
        } & {
            addrPrefix?: string;
            chain?: {
                keyType?: KeyType;
                module?: string;
                name?: string;
                supportsForeignAssets?: boolean;
            } & {
                keyType?: KeyType;
                module?: string;
                name?: string;
                supportsForeignAssets?: boolean;
            } & {
                [K in string | number | symbol]: never
            };
            cosmosChain?: string;
            ibcPath?: string;
            nativeAssets?: {
                denom?: string;
                isNativeAsset?: boolean;
            }[] & ({
                denom?: string;
                isNativeAsset?: boolean;
            } & {
                denom?: string;
                isNativeAsset?: boolean;
            } & {
                [K in string | number | symbol]: never
            })[] & {
                [K in string | symbol]: never
            };
            sender?: Uint8Array;
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • Optional base: I

      Returns AddCosmosBasedChainRequest

  • decode:function
  • encode:function
  • fromJSON:function
  • fromPartial:function
    • Type Parameters

      • I extends {
            addrPrefix?: string;
            chain?: {
                keyType?: KeyType;
                module?: string;
                name?: string;
                supportsForeignAssets?: boolean;
            };
            cosmosChain?: string;
            ibcPath?: string;
            nativeAssets?: {
                denom?: string;
                isNativeAsset?: boolean;
            }[];
            sender?: Uint8Array;
        } & {
            addrPrefix?: string;
            chain?: {
                keyType?: KeyType;
                module?: string;
                name?: string;
                supportsForeignAssets?: boolean;
            } & {
                keyType?: KeyType;
                module?: string;
                name?: string;
                supportsForeignAssets?: boolean;
            } & {
                [K in string | number | symbol]: never
            };
            cosmosChain?: string;
            ibcPath?: string;
            nativeAssets?: {
                denom?: string;
                isNativeAsset?: boolean;
            }[] & ({
                denom?: string;
                isNativeAsset?: boolean;
            } & {
                denom?: string;
                isNativeAsset?: boolean;
            } & {
                [K in string | number | symbol]: never
            })[] & {
                [K in string | symbol]: never
            };
            sender?: Uint8Array;
        } & {
            [K in string | number | symbol]: never
        }

      Parameters

      • object: I

      Returns AddCosmosBasedChainRequest

  • toJSON:function

Generated using TypeDoc