@bridgesplit/rwa-token-sdk
Version:
RWA Token SDK for the development of permissioned tokens on SVM blockchains.
22 lines (21 loc) • 730 B
TypeScript
/// <reference types="@coral-xyz/anchor/node_modules/@solana/web3.js" />
import { AnchorProvider } from "@coral-xyz/anchor";
import { type Keypair, type TransactionInstruction } from "@solana/web3.js";
/** Retrieves the provider used for interacting with the Solana blockchain.
* @returns The initialized provider for interacting with the Solana blockchain.
*/
export declare const getProvider: () => AnchorProvider;
export type IxReturn = {
ixs: TransactionInstruction[];
signers: Keypair[];
};
/** Common args for all RWA instructions */
export type CommonArgs = {
assetMint: string;
payer: string;
signer?: string;
amount?: number;
owner?: string;
authority?: string;
delegate?: string;
};