@neynar/nodejs-sdk
Version:
SDK to interact with Neynar APIs (https://docs.neynar.com/reference/quickstart)
39 lines (38 loc) • 1.28 kB
TypeScript
/**
* Farcaster API V2
* The Farcaster API allows you to interact with the Farcaster protocol. See the [Neynar docs](https://docs.neynar.com/reference) for more details.
*
* The version of the OpenAPI document: 2.46.0
* Contact: team@neynar.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import type { TransactionFrameAction } from './transaction-frame-action';
import type { TransactionFrameLineItem } from './transaction-frame-line-item';
/**
*
* @export
* @interface TransactionFrameConfig
*/
export interface TransactionFrameConfig {
/**
* Optional list of FIDs that are allowed to use this transaction mini app
* @type {Array<number>}
* @memberof TransactionFrameConfig
*/
'allowlist_fids'?: Array<number>;
/**
* List of items included in the transaction
* @type {Array<TransactionFrameLineItem>}
* @memberof TransactionFrameConfig
*/
'line_items': Array<TransactionFrameLineItem>;
/**
* Action button for primary CTA on the transaction mini app
* @type {TransactionFrameAction}
* @memberof TransactionFrameConfig
*/
'action'?: TransactionFrameAction;
}