question

Upvotes
Accepted
3 0 0 3

How to add a new bond into the chain via websocket api?

Is there any method to insert a new item into the bond chain without fetching the entire chain and update the ric one by one?

#technologywebsocketschain-ric
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
32.2k 41 11 20

Hello @clarence.ho ,

I think you are asking about subscribing to a chain RIC continuously and keeping both the chain information and information on the individual RICs up-to-date.

Review articles Simple Chain objects for EMA - Part 1 => section Chain Updates and Simple Chain objects for EMA - Part 2 for the discussion of how chains update.

If I understand your question correctly, on the update to a chain,

If you keep the information on the list of the individual RICs (chain list information), you will update this information/list if the update received impact the list

If you subscribe/keep the specific information on each individual RIC in the chain, you would add subscription/remove subscription to individual RIC, per your individual RIC requirement.

Hope that this is the information that you are looking for, otherwise, please explain more of your question.

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi Zoya thanks for your prompt reply

Is there any working example in C# that helps to add a ric tag into chain object?

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.