Class WithdrawalProof

Hierarchy

  • WithdrawalProof

Constructors

Properties

leaves?: string[]
network: string
numLeaves?: number
proof?: string[]
rootTotalAmount?: string
transfer?: any
transferId: string
transferIndex?: number
transferRoot?: any
transferRootHash?: string

Methods

  • Parameters

    • transferIdOrTxHash: string

    Returns Promise<{
        leaves: string[];
        numLeaves: number;
        proof: string[];
        rootTotalAmount: any;
        transfer: any;
        transferId: string;
        transferIndex: number;
        transferRoot: any;
        transferRootHash: any;
    }>

  • Returns {
        leaves: string[];
        numLeaves: number;
        proof: string[];
        rootTotalAmount: string;
        transferId: string;
        transferIndex: number;
        transferRootHash: string;
    }

    • leaves: string[]
    • numLeaves: number
    • proof: string[]
    • rootTotalAmount: string
    • transferId: string
    • transferIndex: number
    • transferRootHash: string
  • Parameters

    • chain: string
    • token: string
    • transferRootHash: string

    Returns Promise<any>

  • Returns {
        amount: any;
        amountOutMin: any;
        bonderFee: any;
        deadline: any;
        recipient: any;
        rootTotalAmount: string;
        siblings: string[];
        totalLeaves: number;
        transferIdTreeIndex: number;
        transferNonce: any;
        transferRootHash: string;
    }

    • amount: any
    • amountOutMin: any
    • bonderFee: any
    • deadline: any
    • recipient: any
    • rootTotalAmount: string
    • siblings: string[]
    • totalLeaves: number
    • transferIdTreeIndex: number
    • transferNonce: any
    • transferRootHash: string
  • Parameters

    • transferId: string
    • rootTotalAmount: string
    • transferIds: string[]

    Returns {
        leaves: string[];
        numLeaves: number;
        proof: string[];
        rootTotalAmount: string;
        transferIndex: number;
    }

    • leaves: string[]
    • numLeaves: number
    • proof: string[]
    • rootTotalAmount: string
    • transferIndex: number
  • Parameters

    • chain: string
    • query: string
    • params: any = {}

    Returns Promise<any>

  • Parameters

    • transferId: string
    • chain: string

    Returns Promise<any>

  • Parameters

    • chain: string
    • token: string
    • transferRootHash: string

    Returns Promise<any>

  • Parameters

    • transactionHash: string
    • chain: string

    Returns Promise<any>

  • Parameters

    • chain: string
    • token: string
    • rootHash: string

    Returns Promise<any>

  • Parameters

    • chain: string
    • token: string
    • transferRootHash: string

    Returns Promise<any>

Generated using TypeDoc