Constructors

  • Parameters

    • __namedParameters: {
          api: ApiPromise;
      }
      • api: ApiPromise

    Returns Saturn

Properties

api: ApiPromise
chains: {
    assets: {
        label: string;
        registerType: XcmAssetRepresentation;
    }[];
    chain: string;
}[]

Type declaration

feeAsset: FeeAsset

Methods

  • Parameters

    • __namedParameters: {
          amount: BN;
          asset: XcmAssetRepresentation;
          destination: string;
          id: number;
          proposalMetadata?: string | Uint8Array;
          to?: string | AccountId;
          xcmFee: BN;
      }
      • amount: BN
      • asset: XcmAssetRepresentation
      • destination: string
      • id: number
      • Optional proposalMetadata?: string | Uint8Array
      • Optional to?: string | AccountId
      • xcmFee: BN

    Returns MultisigCall

  • Parameters

    • __namedParameters: {
          call: Uint8Array | Call | SubmittableExtrinsic<ApiTypes, ISubmittableResult>;
          feeAsset?: FeeAsset;
          id: number;
          proposalMetadata?: string | Uint8Array;
      }
      • call: Uint8Array | Call | SubmittableExtrinsic<ApiTypes, ISubmittableResult>
      • Optional feeAsset?: FeeAsset
      • id: number
      • Optional proposalMetadata?: string | Uint8Array

    Returns MultisigCall

  • Parameters

    • __namedParameters: {
          creationFeeAsset: FeeAsset;
          metadata?: string | Uint8Array;
          minimumSupport: number | BN | Perbill;
          requiredApproval: number | BN | Perbill;
      }
      • creationFeeAsset: FeeAsset
      • Optional metadata?: string | Uint8Array
      • minimumSupport: number | BN | Perbill
      • requiredApproval: number | BN | Perbill

    Returns MultisigCreator

  • Returns void

  • Parameters

    • __namedParameters: {
          address: string | AccountId;
          id: number;
      }
      • address: string | AccountId
      • id: number

    Returns Promise<BN>

  • Parameters

    • id: number

    Returns Promise<AccountId[]>

  • Parameters

    • account: string | AccountId

    Returns Promise<{
        multisigId: number;
        tokens: BN;
    }[]>

  • Parameters

    • __namedParameters: {
          callHash: string | Hash;
          id: number;
      }
      • callHash: string | Hash
      • id: number

    Returns Promise<CallDetails>

  • Parameters

    • id: number

    Returns Promise<BN>

  • Returns Promise<{
        chainMultilocation: XcmV3MultiLocation;
        isUnderMaintenance: boolean;
    }[]>

  • Parameters

    • __namedParameters: {
          address: string | AccountId;
          amount: BN;
          id: number;
          proposalMetadata?: string | Uint8Array;
      }
      • address: string | AccountId
      • amount: BN
      • id: number
      • Optional proposalMetadata?: string | Uint8Array

    Returns MultisigCall

  • Parameters

    • __namedParameters: {
          address: string | AccountId;
          amount: BN;
          id: number;
          proposalMetadata?: string | Uint8Array;
      }
      • address: string | AccountId
      • amount: BN
      • id: number
      • Optional proposalMetadata?: string | Uint8Array

    Returns MultisigCall

  • Parameters

    • __namedParameters: {
          callData: Uint8Array | "0x{string}";
          destination: string;
          id: number;
          proposalMetadata?: string | Uint8Array;
          weight: BN;
          xcmFee: BN;
          xcmFeeAsset: XcmAssetRepresentation;
      }
      • callData: Uint8Array | "0x{string}"
      • destination: string
      • id: number
      • Optional proposalMetadata?: string | Uint8Array
      • weight: BN
      • xcmFee: BN
      • xcmFeeAsset: XcmAssetRepresentation

    Returns MultisigCall

  • Parameters

    Returns void

  • Parameters

    • __namedParameters: {
          frozenTokens: boolean;
          id: number;
          metadata?: string | Uint8Array;
          minimumSupport: number | BN | Perbill;
          proposalMetadata: string | Uint8Array;
          requiredApproval: number | BN | Perbill;
      }
      • frozenTokens: boolean
      • id: number
      • Optional metadata?: string | Uint8Array
      • minimumSupport: number | BN | Perbill
      • proposalMetadata: string | Uint8Array
      • requiredApproval: number | BN | Perbill

    Returns MultisigCall

  • Parameters

    • __namedParameters: {
          aye: boolean;
          callHash: string | Hash;
          id: number;
      }
      • aye: boolean
      • callHash: string | Hash
      • id: number

    Returns SubmittableExtrinsic<"promise", ISubmittableResult>

  • Parameters

    • __namedParameters: {
          callHash: string | Hash;
          id: number;
      }
      • callHash: string | Hash
      • id: number

    Returns SubmittableExtrinsic<"promise", ISubmittableResult>